Extension point providers
In component org.nuxeo.ecm.platform.query.api.PageProviderService
Contribution Descriptors
- Class: org.nuxeo.ecm.platform.query.core.CoreQueryPageProviderDescriptor
- Class: org.nuxeo.ecm.platform.query.core.GenericPageProviderDescriptor
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="CURRENT_DOC_CHILDREN"> <property name="maxResults">PAGE_SIZE</property> <pattern> SELECT * FROM Document WHERE ecm:parentId = ? AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="dc:title"/> <pageSize>50</pageSize> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="user_domains"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE ecm:primaryType = 'Domain' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="dc:title"/> <pageSize>0</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="domain_documents"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE ecm:path STARTSWITH ? AND ecm:mixinType != 'Folderish' AND ecm:mixinType != 'SystemDocument' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:isProxy = 0 AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="false" column="dc:modified"/> <pageSize>5</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="domain_published_documents"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE ecm:path STARTSWITH ? AND ecm:mixinType != 'Folderish' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:mixinType != 'SystemDocument' AND ecm:isCheckedInVersion = 0 AND ecm:isProxy = 1 </pattern> <sort ascending="true" column="dc:modified"/> <pageSize>5</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="user_documents"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE dc:contributors = ? AND ecm:mixinType != 'Folderish' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:mixinType != 'SystemDocument' AND ecm:isCheckedInVersion = 0 AND ecm:isProxy = 0 AND ecm:currentLifeCycleState != 'deleted' AND ecm:path STARTSWITH ? </pattern> <sort ascending="true" column="dc:modified"/> <pageSize>5</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="user_sections"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE ecm:primaryType = 'Section' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:path STARTSWITH ? </pattern> <sort ascending="true" column="dc:modified"/> <pageSize>5</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="user_sites"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE ecm:mixinType = 'WebView' AND ecm:currentLifeCycleState != 'deleted' AND webc:isWebContainer = 1 AND ecm:path STARTSWITH ? </pattern> <sort ascending="true" column="webc:name"/> <pageSize>5</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="user_workspaces"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Workspace WHERE ecm:mixinType != 'HiddenInNavigation' AND ecm:currentLifeCycleState != 'deleted' AND ecm:isProxy = 0 AND ecm:path STARTSWITH ? </pattern> <sort ascending="true" column="dc:title"/> <pageSize>5</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="user_deleted_documents"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE dc:contributors = ? AND ecm:mixinType != 'Folderish' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:mixinType != 'SystemDocument' AND ecm:isCheckedInVersion = 0 AND ecm:isProxy = 0 AND ecm:currentLifeCycleState = 'deleted' </pattern> <sort ascending="true" column="dc:modified"/> <pageSize>5</pageSize> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="USER_SAVED_SEARCHES"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM FacetedSearch WHERE dc:creator = ? AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="dc:title"/> </coreQueryPageProvider> <coreQueryPageProvider name="OTHER_USERS_SAVED_SEARCHES"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM FacetedSearch WHERE dc:creator != ? AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="dc:title"/> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="SAVED_DAM_SEARCHES"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE ecm:mixinType = 'DamSearch' AND dc:creator = ? AND ecm:isProxy = 0 AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="dc:title"/> </coreQueryPageProvider> <coreQueryPageProvider name="SHARED_DAM_SEARCHES"> <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property> <pattern> SELECT * FROM Document WHERE ecm:mixinType = 'DamSearch' AND dc:creator != ? AND ecm:isProxy = 0 AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="dc:title"/> </coreQueryPageProvider> <genericPageProvider class="org.nuxeo.dam.provider.ImportFolderPageProvider" name="damImportFolders"> <pattern escapeParameters="true" quoteParameters="false"> SELECT * FROM Document WHERE ecm:fulltext.dc:title LIKE '?' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:mixinType = 'Folderish' AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="dc:title"/> <pageSize>10</pageSize> </genericPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="DEFAULT_CREATION_CONTAINER_LIST_PROVIDER"> <pattern> SELECT * FROM Document WHERE ecm:primaryType IN ('Workspace', 'Folder') AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="ecm:path"/> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="DOC_ROUTING_SEARCH_ALL_ROUTE_MODELS"> <pattern> SELECT * FROM DocumentRoute WHERE ecm:currentLifeCycleState = 'validated' AND dc:title LIKE ? </pattern> <sort ascending="true" column="dc:title"/> <pageSize>20</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="DOC_ROUTING_SEARCH_ALL_ROUTE_INSTANCES"> <pattern> SELECT * FROM DocumentRoute WHERE ecm:currentLifeCycleState = 'running' AND dc:title LIKE ? </pattern> <sort ascending="true" column="dc:title"/> <pageSize>20</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="CURRENT_DOC_ROUTING_SEARCH_ATTACHED_DOC"> <pattern> SELECT * FROM Document WHERE ecm:mixinType != 'Folderish' AND ecm:currentLifeCycleState != 'deleted' AND dc:title ILIKE ? </pattern> <sort ascending="true" column="dc:title"/> <pageSize>20</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="SEARCH_ROUTE_BY_ATTACHED_DOC"> <pattern> SELECT * FROM DocumentRoute WHERE (ecm:currentLifeCycleState = 'running' OR ecm:currentLifeCycleState = 'ready') AND docri:participatingDocuments IN (?) </pattern> <sort ascending="true" column="dc:title"/> <pageSize>20</pageSize> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <genericPageProvider class="org.nuxeo.ecm.wall.WallActivityStreamPageProvider" name="wall_activity_stream"> <pageSize>10</pageSize> </genericPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <documentation> This contribution declares page providers used by UI components. The page provider 'tree_children' is used to list children in the tree navigation. Note the "ecm:isProxy = 0" predicate optimization that is required to simplify greatly the request performed by the tree manager when browsing on folders with a lot of files when using the Visible SQL Storage. The page provider 'default_document_suggestion' is used by default by the component performing document suggestions. </documentation> <coreQueryPageProvider name="tree_children"> <property name="maxResults">PAGE_SIZE</property> <pattern> SELECT * FROM Document WHERE ecm:parentId = ? AND ecm:isProxy = 0 AND ecm:mixinType = 'Folderish' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' </pattern> <sort ascending="true" column="dc:title"/> <pageSize>50</pageSize> </coreQueryPageProvider> <coreQueryPageProvider name="default_document_suggestion"> <property name="maxResults">PAGE_SIZE</property> <pattern escapeParameters="true" quoteParameters="false"> SELECT * FROM Document WHERE ecm:fulltext LIKE '?*' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' </pattern> <!-- sort column="dc:title" ascending="true" / sort by fulltext relevance --> <pageSize>5</pageSize> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <genericPageProvider class="org.nuxeo.ecm.platform.usermanager.providers.UsersPageProvider" name="users_listing"> <pageSize>20</pageSize> </genericPageProvider> <genericPageProvider class="org.nuxeo.ecm.platform.usermanager.providers.NuxeoPrincipalsPageProvider" name="nuxeo_principals_listing"> <pageSize>20</pageSize> </genericPageProvider> <genericPageProvider class="org.nuxeo.ecm.platform.usermanager.providers.GroupsPageProvider" name="groups_listing"> <pageSize>20</pageSize> </genericPageProvider> <genericPageProvider class="org.nuxeo.ecm.platform.usermanager.providers.NuxeoGroupsPageProvider" name="nuxeo_groups_listing"> <pageSize>20</pageSize> </genericPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="FOLDER_ITEM_CHILDREN"> <pattern> SELECT * FROM Document WHERE ecm:parentId = ? AND ecm:isCheckedInVersion = 0 AND ecm:isProxy = 0 AND ecm:currentLifeCycleState != 'deleted' AND ecm:mixinType != 'HiddenInNavigation' </pattern> <sort ascending="true" column="dc:created"/> <pageSize>1000</pageSize> <maxPageSize>1000</maxPageSize> <property name="maxResults">PAGE_SIZE</property> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <genericPageProvider class="org.nuxeo.ecm.platform.task.providers.UserTaskPageProvider" name="user_tasks"> <property name="locale">#{localeSelector.localeString}</property> <pageSize>20</pageSize> </genericPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="faceted_search_core_default"> <property name="coreSession">#{documentManager}</property> <whereClause docType="FacetedSearchDefault"> <fixedPart> ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' </fixedPart> <predicate operator="FULLTEXT" parameter="ecm:fulltext"> <field name="ecm_fulltext" schema="faceted_search_default"/> </predicate> <predicate operator="BETWEEN" parameter="dc:created"> <field name="dc_created_min" schema="faceted_search_default"/> <field name="dc_created_max" schema="faceted_search_default"/> </predicate> <predicate operator="BETWEEN" parameter="dc:modified"> <field name="dc_modified_min" schema="faceted_search_default"/> <field name="dc_modified_max" schema="faceted_search_default"/> </predicate> <predicate operator="IN" parameter="dc:creator"> <field name="dc_creator" schema="faceted_search_default"/> </predicate> <predicate operator="STARTSWITH" parameter="dc:coverage"> <field name="dc_coverage" schema="faceted_search_default"/> </predicate> <predicate operator="STARTSWITH" parameter="dc:subjects"> <field name="dc_subjects" schema="faceted_search_default"/> </predicate> <predicate operator="STARTSWITH" parameter="ecm:path"> <field name="ecm_path" schema="faceted_search_default"/> </predicate> </whereClause> <sort ascending="true" column="dc:title"/> <pageSize>20</pageSize> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <genericPageProvider class="org.nuxeo.ecm.platform.audit.api.AuditPageProvider" name="AUDIT_BROWSER"> <whereClause docType="BasicAuditSearch"> <predicate operator=">" parameter="log.id"> <field name="logId" schema="basicauditsearch"/> </predicate> <predicate operator="BETWEEN" parameter="log.eventDate"> <field name="startDate" schema="basicauditsearch"/> <field name="endDate" schema="basicauditsearch"/> </predicate> <predicate operator="IN" parameter="log.category"> <field name="eventCategories" schema="basicauditsearch"/> </predicate> <predicate operator="IN" parameter="log.eventId"> <field name="eventIds" schema="basicauditsearch"/> </predicate> <predicate operator="IN" parameter="log.principalName"> <field name="principalNames" schema="basicauditsearch"/> </predicate> </whereClause> <sort ascending="true" column="log.eventDate"/> <sort ascending="true" column="log.id"/> <pageSize>10</pageSize> </genericPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <genericPageProvider class="org.nuxeo.ecm.platform.audit.api.AuditPageProvider" name="DOCUMENT_HISTORY_PROVIDER_OLD"> <whereClause docType="BasicAuditSearch"> <fixedPart> log.docUUID = ? </fixedPart> <predicate operator="BETWEEN" parameter="log.eventDate"> <field name="startDate" schema="basicauditsearch"/> <field name="endDate" schema="basicauditsearch"/> </predicate> <predicate operator="IN" parameter="log.category"> <field name="eventCategories" schema="basicauditsearch"/> </predicate> <predicate operator="=" parameter="log.eventId"> <field name="eventId" schema="basicauditsearch"/> </predicate> </whereClause> <sort ascending="true" column="log.eventDate"/> <pageSize>10</pageSize> </genericPageProvider> <genericPageProvider class="org.nuxeo.ecm.platform.audit.api.document.DocumentHistoryPageProvider" name="DOCUMENT_HISTORY_PROVIDER"> <whereClause docType="BasicAuditSearch"> <predicate operator="BETWEEN" parameter="log.eventDate"> <field name="startDate" schema="basicauditsearch"/> <field name="endDate" schema="basicauditsearch"/> </predicate> <predicate operator="IN" parameter="log.category"> <field name="eventCategories" schema="basicauditsearch"/> </predicate> <predicate operator="IN" parameter="log.eventId"> <field name="eventIds" schema="basicauditsearch"/> </predicate> <predicate operator="IN" parameter="log.principalName"> <field name="principalNames" schema="basicauditsearch"/> </predicate> </whereClause> <sort ascending="true" column="log.eventDate"/> <sort ascending="true" column="log.id"/> <pageSize>10</pageSize> </genericPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="DEFAULT_DOCUMENT_SUGGESTION"> <property name="maxResults">PAGE_SIZE</property> <pattern escapeParameters="true" quoteParameters="false"> SELECT * FROM Document WHERE ecm:fulltext.dc:title LIKE '?' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' </pattern> <pageSize>10</pageSize> </coreQueryPageProvider> </extension>
-
<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService"> <coreQueryPageProvider name="default_section_suggestion"> <pattern escapeParameters="true" quoteParameters="false"> SELECT * FROM Section WHERE dc:title LIKE '?%' AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted' </pattern> <!-- sort column="dc:title" ascending="true" / sort by fulltext relevance --> <pageSize>5</pageSize> </coreQueryPageProvider> </extension>